<?php

/* @var $this yii\web\View */

$this->title = '金鸿一瞥';
?>

<section class="content-wrapper">
    <!-- Main content -->
    <section class="content">
        <div class="callout callout-danger">
            <p>
                过去的，让它过去，永远不要回顾；未来的，等来了时再说，不要空想；我们只抓住了现在，用我们现在的理想，做我们所应该做的。
            </p>
        </div>
        <h3>系统信息</h3>
        <div class="callout callout-success">

            <table>
                <tr>
                    <th>P H P 版 本：</th>
                    <td><?=PHP_VERSION?></td>
                </tr>
                <tr>
                    <th width="100px">服务器 信息：</th>
                    <td><?=PHP_OS?></td>
                </tr>
                <tr>
                    <th>Apache版本：</th>
                    <td><?=apache_get_version()?></td>
                </tr>
                <tr>
                    <th>YII2信息: </th>
                    <td>
                        <?php
                            echo "<br>";
                            echo "Yii Constaint : <br>";
                            echo "YII2_PATH : " . YII2_PATH . "<br>";
                            echo "YII_BEGIN_TIME : " . YII_BEGIN_TIME . "<br><br>";
                            echo "@yii : " .Yii::getAlias("@yii")."<br>";
                            echo "@app : " .Yii::getAlias("@app")."<br>";
                            echo "@vendor : " .Yii::getAlias("@vendor")."<br>";
                            echo "@bower : " .Yii::getAlias("@bower")."<br>";
                            echo "@npm : " .Yii::getAlias("@npm")."<br>";
                            echo "@runtime : " .Yii::getAlias("@runtime")."<br>";
                            echo "@backend : " .Yii::getAlias("@backend")."<br>";
                            echo "@common : " .Yii::getAlias("@common")."<br>";
                            echo "@console : " .Yii::getAlias("@console")."<br>";
                            echo "@frontend : " .Yii::getAlias("@frontend")."<br><br>";
                            echo "yii\base\Web\Application :<br>";
                            echo "@web : " .Yii::getAlias("@web")."<br>";
                            echo "@webroot : " .Yii::getAlias("@webroot")."<br>";
                       ?>
                   </td>
               </tr>
            </table>
        </div>
    </section>
</section>
